<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>数据可视化</title>
	<!-- CSS -->
    <link rel="stylesheet" href="css/index.css" />
  </head>
  <body>
    <!-- 头部的盒子 -->
    <header>
      <h1>智慧能源管理系统</h1>
	  <h4>能耗管理数据</h4>
      <div class="showTime"></div>
      <script>
        var t = null;
        t = setTimeout(time, 1000); //開始运行
        function time() {
          clearTimeout(t); //清除定时器
          dt = new Date();
          var y = dt.getFullYear();
          var mt = dt.getMonth() + 1;
          var day = dt.getDate();
          var h = dt.getHours(); //获取时
          var m = dt.getMinutes(); //获取分
          var s = dt.getSeconds(); //获取秒
          document.querySelector(".showTime").innerHTML =
            "当前时间：" +
            y +
            "年" +
            mt +
            "月" +
            day +
            "-" +
            h +
            "时" +
            m +
            "分" +
            s +
            "秒";
          t = setTimeout(time, 1000); //设定定时器，循环运行
        }
      </script>
      &
    </header>

    <!-- 页面主体部分 -->
    <section class="mainbox">
      <div class="column">
        <div class="panel bar">
          <h2>智慧电表-能耗情况</h2>
		  <div class="yestoday">
		  	昨日用电：3000Kw/h<br />
			今日用电：3210Kw/h
		  </div>
          <div class="chart">图表</div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel line">
          <h2>
            智慧水表-能耗情况
          </h2>
		  <div class="yestoday">
		  	昨日用水：12吨/天<br />
		  			今日用电：12吨/天
		  </div>
          <div class="chart">图表</div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel fire">
          <h2>智慧燃气表-能耗情况</h2>
		  <div class="yestoday">
		  	昨日用气：30方/天<br />
		  			今日用气：32方/天
		  </div>
          <div class="chart">图表</div>
          <div class="panel-footer"></div>
        </div>

      </div>
      <div class="column">
        <!-- no模块制作 -->
        <div class="no">
          <div class="no-bd">
            <ul>
              <li>已确认报警数量</li>
              <li>今日解除警报数量</li>
			  <li>来确认报警数量</li>
			  <li>实时报警数量</li>
            </ul>
          </div>
          <div class="no-hd">
            <ul>
              <li>12345</li>
              <li>12345</li>
			  <li>12345</li>
			  <li>12345</li>
            </ul>
          </div>
        </div>
        <!-- 地图模块 -->
        <div class="map">
          <div class="map1"></div>
          <div class="map2"></div>
          <div class="map3"></div>
          <div class="chart"></div>
        </div>
      </div>
      <div class="column">
        <div class="panel bar2">
          <h2>设备概况-设备统计</h2>
          <div class="chart">
			  <h1 style="margin-top: 10px;">智慧电表</h1>
			  <span>总数598</span><span class="num">在线400</span><span class="num2">离线198</span><span class="num3">警告198</span>
			  <h1 style="margin-top: 10px;">智慧水表</h1>
			  <span >总数598</span><span class="num">在线400</span><span class="num2">离线198</span><span class="num3">警告198</span>
			  <h1 style="margin-top: 10px;">智慧气表</h1>
			  <span>总数598</span><span class="num">在线400</span><span class="num2">离线198</span><span class="num3">警告198</span>
		  </div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel line2">
         <!-- <h2>折线图-播放量</h2>
          <div class="chart">图表</div>
          <div class="panel-footer"></div> -->
		  <h2>能耗监测</h2>
		  <table border="1px" cellspacing="0" cellpadding="0">
		  	<tr><th>设备ID</th><th>状态</th><th>部门</th><th>消耗</th><th>日期</th></tr>
		  	<tr><td>A123456</td><td>在线</td><td>部门1</td><td>100</td><td>2021-06-07</td></tr>
			<tr><td>A123456</td><td>离线</td><td>部门2</td><td>100</td><td>2021-06-07</td></tr>
			<tr><td>A123456</td><td>警告</td><td>部门3</td><td>100</td><td>2021-06-07</td></tr>
			<tr><td>A123456</td><td>在线</td><td>部门4</td><td>100</td><td>2021-06-07</td></tr>
		  </table>
        </div>
		<div class="panel line3">
		  <h2>能耗占比-雷达图</h2>
		  <br>
		  <div class="chart">图表</div>
		  <div class="panel-footer"></div>
		</div>

      </div>
    </section>
<div class="bottom">
	<h2>能耗月环比</h2>
          <div class="chart">图表</div>
          <div class="panel-footer"></div>
</div>
	<script src="js/flexible.js"></script>
    <script src="js/echarts.min.js"></script>
    <!-- 先引入jquery -->
    <script src="js/jquery.js"></script>
    <script src="js/index.js"></script>
  </body>
</html>
